package com.cn.easy.export.model.excel

import org.apache.poi.ss.usermodel.CellStyle
import org.apache.poi.ss.usermodel.Workbook

interface ExcelColumn<Row> {
    /**
     * 唯一标识
     */
    val key: String

    /**
     * Excel列标题
     */
    val title: ExcelTitle

    /**
     * 样式
     */
    val cellStyle: ((Workbook, Row) -> CellStyle?)?
}